<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>存款界面</title>
</head>

<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->

<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->

<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

<script th:src="@{/layer/layer.js}"></script>
<script th:inline="javascript">
    //提示层
    function onload() {
        // console.log("[[${msg}]]")
        layer.msg([[${msg}]]);
        //墨绿深蓝风


    }
    // window.onload = onload();
</script>


<body onload="onload();">

<!--引入公共部分-->
<div th:replace="common.html::head(activeUri='use2')"></div>


<center style="margin-top: 10px;margin-left: 10px">

    <form class="form-horizontal" th:action="@{/deposit}" method="post">
        <!--<div class="btn-group">

            <div class="btn-group">
                &lt;!&ndash;<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    ==请选择== <span class="caret"></span>
                </button>&ndash;&gt;
                <select>
                    <option selected>请选择</option>
                    <option >1111</option >
                </select>


            </div>
        </div>-->

        <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">一类账户</label>
            <div class="col-sm-10">
                <input name="account_card_numB" type="text" class="form-control"
                       id="account_card_numB" th:value="${fNo}" readonly>
            </div>
        </div>


        <!--=========================================================-->
        <br>

        <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">二类账户</label>
            <div class="col-sm-10">
                <select name="account_card_numA">
                    <option value="" selected>--请选择--</option>
                    <option th:each="no:${oNos}">
                        [[${no}]]
                    </option>
                </select>
            </div>
        </div>


        <!--====================================-->

        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">存款金额</label>
            <div class="col-sm-10">
                <input name="money1" type="text" oninput="value=value.replace(/[^\d]/g,'')" class="form-control"
                       id="inputEmail3" placeholder="请输入存款金额">
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">确认金额</label>
            <div class="col-sm-10">
                <input name="money2" type="text" oninput="value=value.replace(/[^\d]/g,'')" class="form-control"
                       id="inputPassword3" placeholder="请再次输出金额确认">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-success">提交</button>

                <button type="reset" class="btn btn-info">取消</button>

            </div>
        </div>
    </form>
</center>

</body>
</html>